home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mmdf / mmdf-IIb.43 / uip / send / s.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-03-28  |  1.4 KB  |  78 lines

  1. /*
  2. **        S . H
  3. **
  4. **  
  5. **    This file contains definitions required for the SEND program.
  6. **
  7. **    R E V I S I O N  H I S T O R Y
  8. **
  9. **    03/31/83  GWH    Split the SEND program into component parts
  10. **
  11. **    10/19/83  GWH    Added a counter to the ALIAS structure to prevent
  12. **            disaster in local aliasfile loops.
  13. **
  14. */
  15.  
  16. #include "util.h"
  17. #include "mmdf.h"
  18. #include "ch.h"
  19. #include <pwd.h>
  20. #include <signal.h>
  21. #include "cnvtdate.h"
  22. #include "./s_tailor.h"
  23.  
  24. #define DREND           2
  25. #define DRBEGIN         0
  26.  
  27. #define HDRPRT          YES
  28. #define HDRSIL          NO
  29.  
  30. #define FLDREMV         0
  31. #define FLDSAME         1
  32. #define FLDOVER         2
  33. #define FLDADD          3
  34. #define    ITMRMV        4
  35.  
  36. #define BBSIZE        513
  37. #define    S_BSIZE        1024
  38.  
  39. /* Define somethings for use in "getuinfo" */
  40.  
  41. #define COPYFILE    0
  42. #define DRAFTDIR    1
  43. #define SIGNATURE    2
  44. #define NOSIGNATURE    3
  45. #define REPLYTO        4
  46. #define ALIASES        5
  47. #define SUBARGS        6
  48. #define EDITOR        7
  49. #define VEDITOR        8
  50. #define CFILE        9
  51. #define QFILE        10
  52. #define NOFILE        11
  53. #define DIREDIT        12
  54. #define CHECKER        13
  55. #define ADDHEADER    14
  56. #define PAGING          15
  57.  
  58. /* Macro definition for use in s_get.c */
  59.  
  60. #define MAX(a,b) (a > b ? a : b )
  61. struct RCOPTION {
  62.     char *name;
  63.     int idnum;
  64. };
  65. struct ALIAS {
  66.     char *key;
  67.     int cntr;
  68.     char *names;
  69.     struct ALIAS *next_int;
  70. };
  71. struct header {
  72.     char    *hname;
  73.     char    hdata[S_BSIZE];
  74.     struct    header *hnext;
  75. };
  76.  
  77. #define    NARGS    20    /* Maximum number of args to set and in .sendrc lines */
  78.